package com.jmgd.cjlx.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.jmgd.cjlx.param.dz.CreateOrderParam;

public interface DzGyService {
    public void callBack(Object object);

    public String queryPrice(String appid,String appsecret,String supplierid,String url,String compname,String... goodsids) throws Exception;

    public void queryPriceBatch(String appid,String appsecret,String supplierid,String url,String compname) throws Exception;

    public String queryStock(String appid,String appsecret,String supplierid,String url,String compname,String... goodsids) throws Exception;

    public void queryStockBatch(String appid,String appsecret,String supplierid,String url,String compname) throws Exception;

    public String createOrder(String addressid,String supplierid,String appid,String appsecret,String url,String compname,CreateOrderParam createOrderParam) throws Exception;

    public String createOrderJm(String addressid,String supplierid,String appid,String appsecret,String url,String compname,String ordercode) throws Exception;

    public String queryOrderStatus(String appid,String appsecret,String url,String compname,String orderCode) throws Exception;

    public String uploadMom() throws JsonProcessingException;
}
